<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>do-while循环</title>
    
</head>
<body>
    <script type="text/javascript">
        var i = 1;
        do{
            console.log(i);
            i++;
        }while(i <= 10);
    </script>
</body>
</html>